package com.daigg.hoteladmin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.daigg.hoteladmin.pojo.po.DeptPO;
import com.daigg.hoteladmin.pojo.vo.DeptVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @description dept数据操作层
 * @author daiyang
 */
@Mapper
@Repository
public interface DeptMapper extends BaseMapper<DeptPO> {
    Page<DeptVO> getPage(@Param("page") Page<DeptVO> page, @Param("vo") DeptVO vo);
}
